package com.gm.wholesale.module.evenbus;

/**
 * evenbus 相关事件type
 */
public enum EventBusType {
    SHOW_DEFAULT_CUSTORM(200, "主界面获取默认散客数据后，MainOrderFragment更新界面数据"),
    CLERAN_ORDER(201,"清空订单列表数据"),

    UPDATE_ORDER_DETAIL(202,"更新订单详情"),

    UPDATE_KIND(203,"更新商品分类"),


    CONNECTION_DEVICE(205,"设置调用连接蓝牙秤"),
    CONNECTION_DEVICE_SUCCESS(206,"连接设备成功"),

    CONNECTION_DEVICE_FAIL(207,"连接设备失败"),
    TO_AFTERSALEVIEW(208,"去售后界面"),

    SHOW_NEED_ORDER_DETAIL(210,"显示需求单详情"),
    UPDATE_NEED_ORDER_LIST_ITEM(211,"修改需求单列表里面某个item的状态"),
    UPDATE_ORDER_LIST(212,"更新订单列表界面"),
    UPDATE_ORDER(1000, "修改订单"),

    UPDATE_NEED_ORDER_DETAIL(1002,"回执成功，更新订单详情"),
    IS_PRINT(1003,"打印了需求单子,更新需求单状态"),
    FINISH_SETTLEMENT_DETAIL(1004,"关闭对账单详情界面"),

    UPDATE_CUSTORM_LIST(1005,"更新对账单子 客户列表界面"),

    SHOW_CUSTORM_SETTLEMENT(1006,"显示客户相关的未支付单子和对账单子"),
    UPDATE_WAITTOACCUNTLIST(1007,"刷新对账列表"),
    CANCLE_DZ_ORDER(1008,"取消对账单"),

    CREATE_GOOD(1009,"创建商品界面"),
    UPDATE_GOOD_LIST(1010,"新增商品后 更新商品列表"),
    UPDATE_ONE_KIND_GOOD(1011,"修改商品后 更新当前商品列表"),

    UPDATE_PAY_TAB_LIST(1012,"支付详情支付后，刷新支付列表"),


    CREATE_CUSTORM(1013,"创建客户界面"),

    UPDATE_CUSTORM_MANGER_LIST(1014,"刷新客户列表（客户管理）"),
    ZFWC(4, "支付完成");//全部支付是4
    private String message;
    private int type;
    EventBusType(int type, String desc) {
        this.type = type;
        this.message = desc;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
